//
//  GSLinkedIn.h
//  AgileNYC
//
//  Created by German on 28.06.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GSLinkedIn : NSObject

-(void) connectToLinkedIn:(NSInteger) reserved
                onSuccess:(void(^)(void)) success
                onFailure:(void(^)(NSError * error, NSInteger statusCode)) failure;

- (void)requestUserInfo:(int) reserved
              onSuccess:(void(^)(NSDictionary * userInfo)) success
              onFailure:(void(^)(NSError * error)) failure;

- (void)requestUserInfoWithImageHeight:(NSInteger) height
                                 Width:(NSInteger) width
                             onSuccess:(void(^)(NSDictionary * userInfo)) success
                       onImageReceived:(void(^)(NSData* userImage)) imageReceived
                             onFailure:(void(^)(NSError * error)) failure;

-(void) getUserImageFromLinkedIn:(int) reserved
                       onSuccess:(void(^)(NSData * userImage)) success
                       onFailure:(void(^)(NSError * error)) failure;


@end
